import json
import requests

#
json.loads

def get_full_trading_date():
    headers = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36"}
    url='https://flashdata2.jrj.com.cn/history/js/index/000001/other/dayk.js'
    response = requests.get(url, headers = headers)
    data=json.loads(response.text[15:])
    v=[]
    for value in data["hqs"]:
        v.append(value[0])
    print(v)


if __name__=="__main__":
    get_full_trading_date()